package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 消息模板对象 sys_msg_template
 *
 * @author Felix
 * @date 2022-04-14
 */
@Data
@ApiModel
public class SysMsgTemplate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "主键")
    private String id;

    /** 模板代码 */
    @Excel(name = "模板代码")
    @ApiModelProperty(value = "模板代码")
    private String tempCode;

    /** 模板标题 */
    @Excel(name = "模板标题")
    @ApiModelProperty(value = "模板标题")
    private String title;

    /** 模板内容 */
    @Excel(name = "模板内容")
    @ApiModelProperty(value = "模板内容")
    private String content;

    /** 模板类型 */
    @Excel(name = "模板类型")
    @ApiModelProperty(value = "模板类型")
    private String tempType;

    /** 模块类型 */
    @Excel(name = "模块类型")
    @ApiModelProperty(value = "模块类型")
    private String moduleType;

    /** 系统消息 */
    @Excel(name = "系统消息")
    @ApiModelProperty(value = "系统消息")
    private Integer msgSys;

    /** 微信消息 */
    @Excel(name = "微信消息")
    @ApiModelProperty(value = "微信消息")
    private Integer msgWx;

    /** 通知栏 */
    @Excel(name = "通知栏")
    @ApiModelProperty(value = "通知栏")
    private Integer msgNotice;
    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String status;

    /** 通道id */
    @Excel(name = "通道id")
    @ApiModelProperty(value = "通道id")
    private String channelId;

    /** 是否删除 */
    @Excel(name = "是否删除")
    @ApiModelProperty(value = "是否删除")
    private String deleted;


    /**
     * 参数数组(自动根据内容生成)
     */
    /** 参数 */
    private String param;

    @Excel(name = "参数")
    @ApiModelProperty(value = "参数")
    private List<String> paramList;
}
